package com.audaque.springboot.foshanupload.core.inface;

import java.util.Collection;
import java.util.List;

/**
 * @author zgb
 * @desc ...
 * @date 2023-03-08 18:26:11
 */

public interface ModelConvertor {
    <S, D> D convert(S source, Class<D> destinationType);

    <S, D> List<D> convert(Collection<S> source, Class<D> destinationType);

    void convert(Object s, Object d);
}
